<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title><?php echo $title; ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- Bootstrap -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/css/bootstrap.min.css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
        <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand hidden-sm" href="">聚惠家后台管理</a>
        </div>
        <div class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="dropdown">
              <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">外卖管理<b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li class="">
                  <a href="<?php echo site_url('admin/storelist');?>">管理店铺信息</a>
                </li>
                <li class="">
                  <a href="<?php echo site_url('admin/newstore');?>">添加新店铺</a>
                </li>
                <li class="">
                  <a href="<?php echo site_url('admin/history');?>">查看外卖订单情况</a>
                </li>
                <li class="">
                  <a href="<?php echo site_url('admin/dormchart');?>">楼栋下单信息统计</a>
                </li>
              </ul>
            </li>
            <li class="dropdown">
              <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">团购管理<b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li class="">
                  <a href="<?php echo site_url('groupadmin');?>">管理团购信息</a>
                </li>
                <li class="">
                  <a href="<?php echo site_url('groupadmin/newgroup');?>">添加新团购</a>
                </li>
                <li class="">
                  <a href="<?php echo site_url('groupadmin/grouphistory');?>">查看团购订单情况</a>
                </li>
              </ul>
            </li>
            <ul class="nav navbar-nav navbar-exit">
              <li><a href="<?php echo site_url('admin/login'); ?>">退出</a></li>
            </ul>
          </ul>
        </div>
      </div>
    </div>

    <div class="container-fluid">
      <div class="row-fluid">
        <div class="span12">
          <div class="page-header">
            <br>